package pl.popek.jboss7;

import javax.ejb.Schedule;
import javax.ejb.Stateless;

@Stateless
public class PeriodicAction {


    @Schedule(second = "*/5", minute = "*", hour = "*", info="Every 5 seconds")
    public void runCode() {
        System.out.println("Periodic mssage from server");
    }

}
